package com.lyh.notes.model.dto.collection;


import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CollectionUpdateParams {
    @NotNull(message = "name 不能为空")
    @NotBlank(message = "name 不能为空")
    private String name;

    private String description;
}
